home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Die Speccy' 97
/
Die Speccy' 97.iso
/
amiga_system
/
the_aminet
/
comm
/
bbs
/
maxsbbsus.lha
/
MAX154
/
TBM
/
Scripts
/
4AM.scp
next >
Wrap
Text File
|
1995-04-25
|
2KB
|
66 lines
This is executed from the st-seq, waits until four in the morning, then does
a few various things. In the st-seq, it says:
Run >nil: Execute BBS:Userfiles/scripts/4AM.scp
That lets the st-seq window close. It runs the FileGen door, to sort the
board's files alphabetically, by size and by date, then makes an LHA file of
them and copies them to the board. Note it makes a FileNote for each file,
just to be cool, and also note the "COM" string on the of the Copy command;
that keeps the Filenote intact in the file.
The scriptfile then updates the two other Configs, and whatever else you
want it to do:
wait until 04:00
cd BBS:
Copy TBMBBS.config3 MAXsBBS.config ; for any doors that might go
wait 1 ; looking for this exact filename
; run FileGen
Doors/filegen/Filelistgen Ram:List.A.temp ALPHA 22 49 50 69 95 96 97 98 99
cd Ram:
Join BBS:Doors/FileGen/head1.txt List.A.temp as List.A.txt
lha a BigList1 List.A.txt
wait 1
filenote BIGLIST1.lha "TBMBBS list of all files, alphabetically"
cd BBS:
Doors/filegen/Filelistgen Ram:List.D.temp DATE 22 49 50 69 95 96 97 98 99
cd Ram:
Join BBS:Doors/FileGen/head2.txt List.D.temp as List.D.txt
lha a BigList2 List.D.txt
wait 1
filenote BIGLIST2.lha "TBMBBS list of all files, by date"
cd BBS:
Doors/filegen/Filelistgen Ram:List.S.temp SIZE 22 49 50 69 95 96 97 98 99
cd Ram:
Join BBS:Doors/FileGen/head3.txt List.S.temp as List.S.txt
lha a BigList3 List.S.txt
wait 1
filenote BIGLIST3.lha "TBMBBS list of all files, by size"
copy BigList1.lha BBS:Files/Misc COM
copy BigList2.lha BBS:Files/Misc COM
copy BigList3.lha BBS:Files/Misc COM
wait 1
delete #?list#? FK quiet
wait 1
delete utils:Fish/#? quiet
wait 1
execute BBS:UserFiles/Update/Update.scp2 ; updates all nodes
copy SD0:Files BBS:Files ; backs up SD0:Files